import withIconColor from './withIconColor';
import { TIconProps } from '@/types';

const InviteIcon = (props: TIconProps) => {
   return (
      <svg
         viewBox="0 0 1024 1024"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         p-id="3378"
         width={props.size}
         height={props.size}
      >
         <path
            d="M960 538v279.45a121.89 121.89 0 0 1-122.18 122.19H186.18A121.89 121.89 0 0 1 64 817.45v-279A81.69 81.69 0 0 1 145.45 457a84.14 84.14 0 0 1 43.79 12.73L511 674.91l323.76-205.67c38.19-23.93 88.59-12.73 112.51 24.94A82.78 82.78 0 0 1 960 538z m-447.49 75.82L186.18 410.18V206.55A121.89 121.89 0 0 1 308.36 84.36h407.28a121.89 121.89 0 0 1 122.18 122.19v203.63zM349.09 237.09q0 30.54 30.55 30.55h264.72q30.55 0 30.55-30.55t-30.55-30.54H379.64q-30.55 0-30.55 30.54zM512 379.64q0-30.56-30.55-30.55H379.64q-30.56 0-30.55 30.55t30.55 30.54h101.81q30.55 0 30.55-30.54z"
            p-id="3379"
            fill={props.color}
         ></path>
      </svg>
   );
};

export default withIconColor(InviteIcon);
